<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新品有戏商家合作平台</title>
    <script src="__JS__/jquery.js"></script>
    <link href="__CSS__/boot.css" rel="stylesheet">
    <link href="__STATIC__/layui/css/layui.css" rel="stylesheet">
    <script src="__JS__/layer/layer.js"></script>
    <script src="__STATIC__/layui/layui.js"></script>
</head>
<body>
<div style="width: 600px;margin: 0 auto">
    <form class="layui-form" action="">
        <div class="layui-form-item">
            <label class="layui-form-label" style="width:150px;" >产品名称</label>
            <div class="layui-input-block">
                <input type="text" style="width: 400px" readonly value="{$result.pname}" name="pname" required  lay-verify="required"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width:150px;" >订单号</label>
            <div class="layui-input-block">
                <input type="text" style="width: 400px" readonly value="{$result.ordernumber}" name="ordernumber" required  lay-verify="required"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width:150px;" >下单时间</label>
            <div class="layui-input-block">
                <input type="text" style="width: 400px" readonly value="{$result.date}" name="date" required  lay-verify="required"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label" style="width:150px;" >描述</label>
            <div class="layui-input-block">
                <textarea name="describe" style="width: 400px" readonly placeholder="请输入内容" class="layui-textarea">{$result.describe}</textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width:150px;" >类别</label>
            <div class="layui-input-block">
                <input type="text" style="width: 400px" readonly value="{$result.category}" name="category" required  lay-verify="required"  autocomplete="off" class="layui-input">
            </div>
        </div><div class="layui-form-item">
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label" style="width:150px;" >产品介绍</label>
            <div class="layui-input-block">
                <textarea name="introduce" style="width: 400px" readonly  placeholder="请输入内容" class="layui-textarea">{$result.introduce}</textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width:150px;" >购买数量(个)</label>
            <div class="layui-input-block">
                <input type="text"  style="width: 400px"  value="{$result.number}" readonly name="number" required  lay-verify="required"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width:150px;" >进货价格(元)</label>
            <div class="layui-input-block">
                <input type="text" style="width: 400px" name="purchaseprice" readonly  value="{$result.purchaseprice}" required  lay-verify="required"  autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label" style="width:150px;" >合计(元)</label>
            <div class="layui-input-block">
                <input type="text" style="width: 400px" name="total" readonly  required value="{$result.total}" lay-verify="required"  autocomplete="off" class="layui-input">
            </div>
        </div>
        {if !empty($result.images)}
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label" style="width:150px;height:150px" >支付凭证</label>
            <div class="layui-input-block">
                <img src="__ROOT__\{$result.images}" width="200" height="200">
            </div>
        </div>
        {/if}
    </form>

</div>
<!--<div style="width: 400px ;margin: 0 auto">-->
    <!--<div class="layui-carousel"  id="img">-->
        <!--<div carousel-item >-->
            <!--{if count($result.image)>0}-->
            <!--{foreach $result.image as $img}-->
            <!--<img src="__ROOT__\{$img}">-->
            <!--{/foreach}-->
            <!--{/if}-->
        <!--</div>-->
    <!--</div>-->
<!--</div>-->
<br/>
<br/>
</body>
<script>
    layui.use('carousel', function(){
        var carousel = layui.carousel;
        //建造实例
        carousel.render({
            elem: '#img',
            width: '100%',//设置容器宽度
            arrow: 'always' //始终显示箭头
            //anim: 'updown' //切换动画方式
        });
    });

</script>
</html>